package com.rnd.kx.mvp.bean;

import java.util.List;

public class IndexBean {


    private List<AdvBean> adv;
    private List<ArticleBean> article;
    private List<CatesBean> cates;

    public List<AdvBean> getAdv() {
        return adv;
    }

    public void setAdv(List<AdvBean> adv) {
        this.adv = adv;
    }

    public List<ArticleBean> getArticle() {
        return article;
    }

    public void setArticle(List<ArticleBean> article) {
        this.article = article;
    }

    public List<CatesBean> getCates() {
        return cates;
    }

    public void setCates(List<CatesBean> cates) {
        this.cates = cates;
    }

    public static class AdvBean {
        /**
         * id : 13
         * title : 22
         * cover : http://cook.yllook.com/attachment/images/2018/06/05/image_x84LKaRkgf.png
         * silder_text :
         * start_time : 1526313657
         * end_time : 1559864151
         * jump_link :
         * type : 1
         * sort : 0
         * status : 1
         * groups : 3
         * append : 1528129822
         * updated : 1552529037
         */

        private String id;
        private String title;
        private String cover;
        private String silder_text;
        private String start_time;
        private String end_time;
        private String jump_link;
        private String type;
        private String sort;
        private String status;
        private String groups;
        private String append;
        private String updated;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getSilder_text() {
            return silder_text;
        }

        public void setSilder_text(String silder_text) {
            this.silder_text = silder_text;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getJump_link() {
            return jump_link;
        }

        public void setJump_link(String jump_link) {
            this.jump_link = jump_link;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getGroups() {
            return groups;
        }

        public void setGroups(String groups) {
            this.groups = groups;
        }

        public String getAppend() {
            return append;
        }

        public void setAppend(String append) {
            this.append = append;
        }

        public String getUpdated() {
            return updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }
    }

    public static class ArticleBean {
        /**
         * id : 5
         * title : 经常熬夜吃什么食物更好？4种食物帮到你
         * member_id : 2
         * description :
         * cover : ["http://cook.yllook.com/attachment/images/2019/03/14/image_HUokENcn0e.jpg","http://cook.yllook
         * .com/attachment/images/2019/03/14/image_XAZ7X1ELX0.jpg","http://cook.yllook
         * .com/attachment/images/2019/03/14/image_juRz44v4XX.jpeg"]
         * view : 0
         * background_cover :
         * type : 1
         * status : 1
         * nice_num : 0
         * sort : 0
         * transmit_num : 0
         * comment_num : 0
         * video_duration :
         * video_url :
         * append : 1552530941
         * member : {"id":"2","head_portrait":"http://cook.yllook.com/attachment/images/2018/07/25/image_nU5ybr5Ydq
         * .jpg","nickname":"德普大帅哥"}
         */

        private String id;
        private String title;
        private String member_id;
        private String description;
        private String view;
        private String background_cover;
        private String type;
        private String status;
        private String nice_num;
        private String sort;
        private String transmit_num;
        private String comment_num;
        private String video_duration;
        private String video_url;
        private String append;
        private MemberBean member;
        private List<String> cover;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getMember_id() {
            return member_id;
        }

        public void setMember_id(String member_id) {
            this.member_id = member_id;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getView() {
            return view;
        }

        public void setView(String view) {
            this.view = view;
        }

        public String getBackground_cover() {
            return background_cover;
        }

        public void setBackground_cover(String background_cover) {
            this.background_cover = background_cover;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getNice_num() {
            return nice_num;
        }

        public void setNice_num(String nice_num) {
            this.nice_num = nice_num;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getTransmit_num() {
            return transmit_num;
        }

        public void setTransmit_num(String transmit_num) {
            this.transmit_num = transmit_num;
        }

        public String getComment_num() {
            return comment_num;
        }

        public void setComment_num(String comment_num) {
            this.comment_num = comment_num;
        }

        public String getVideo_duration() {
            return video_duration;
        }

        public void setVideo_duration(String video_duration) {
            this.video_duration = video_duration;
        }

        public String getVideo_url() {
            return video_url;
        }

        public void setVideo_url(String video_url) {
            this.video_url = video_url;
        }

        public String getAppend() {
            return append;
        }

        public void setAppend(String append) {
            this.append = append;
        }

        public MemberBean getMember() {
            return member;
        }

        public void setMember(MemberBean member) {
            this.member = member;
        }

        public List<String> getCover() {
            return cover;
        }

        public void setCover(List<String> cover) {
            this.cover = cover;
        }

        public static class MemberBean {
            /**
             * id : 2
             * head_portrait : http://cook.yllook.com/attachment/images/2018/07/25/image_nU5ybr5Ydq.jpg
             * nickname : 德普大帅哥
             */

            private String id;
            private String head_portrait;
            private String nickname;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getHead_portrait() {
                return head_portrait;
            }

            public void setHead_portrait(String head_portrait) {
                this.head_portrait = head_portrait;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
    }

    public static class CatesBean {
        /**
         * id : 104
         * title : 时令菜
         * recipe : [{"id":120,"title":"酸奶烤溶豆","cover":"http://cook.yllook.com/attachment/files/2018/07/27/file_rC7aaWt8cX.png","cover_type":1},{"id":193,"title":"腰果百合炒芹菜","cover":"http://cook.yllook.com/attachment/files/2019/03/13/file_EuZJMqQBoj.png","cover_type":1}]
         */

        private String id;
        private String title;
        private List<RecipeBean> recipe;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<RecipeBean> getRecipe() {
            return recipe;
        }

        public void setRecipe(List<RecipeBean> recipe) {
            this.recipe = recipe;
        }

        public static class RecipeBean {
            /**
             * id : 120
             * title : 酸奶烤溶豆
             * cover : http://cook.yllook.com/attachment/files/2018/07/27/file_rC7aaWt8cX.png
             * cover_type : 1
             */

            private int id;
            private String title;
            private String cover;
            private int cover_type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public int getCover_type() {
                return cover_type;
            }

            public void setCover_type(int cover_type) {
                this.cover_type = cover_type;
            }
        }
    }
}
